home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
2109
/
2109.xpi
/
chrome
/
febe.jar
/
content
/
febeResultsPage.js
< prev
next >
Wrap
Text File
|
2009-10-13
|
678b
|
20 lines
// author: Chuck Baker
// contact: febe@customsoftwareconsult.com
// Version 6.3
function febeLoadResultsContent(){
// Load page with content
var Cc = Components.classes;
var Ci = Components.interfaces;
var FEBE_GUID = "{4BBDD651-70CF-4821-84F8-2B918CF89CA3}" // GUID of this extension
// Get pointer to FEBE extension directory
var FEBEdir = Cc["@mozilla.org/extensions/manager;1"]
.getService(Ci.nsIExtensionManager)
.getInstallLocation(FEBE_GUID)
.getItemLocation(FEBE_GUID);
// Load content
FEBEdir.append("FEBEresults.html");
document.location = "file://"+FEBEdir.path;
}//febeLoadResultsContent()